const Mock = require('mockjs')

const data = Mock.mock({
	"list|50": [{
		name: "@cword(2, 5)",
		address: "@county(true)",
		tel: /1[3-8]\d{9}/,
		id: '@id',
		"state|1": ['已经收取', '未收取', "正在收取", "收取失败"],
		"tips": "@csentence"
	}],
	"fileList|5": [{
		filename: "@word(5,10).jpg",
		extname: '.jpg',
		url: '@image(50x50, @color)',
		size: 100 * 1024,
		id: "@id"
	}]
})

module.exports = data